cmake_minimum_required(VERSION 3.19)
project(test01)

set(CMAKE_CXX_STANDARD 17)

set(OpenCV_DIR E:\\Deep_learning\\install_required\\opencv3.4.11_build\\install)

find_package(OpenCV 3 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(test01 main.cpp)

target_link_libraries(test01 ${OpenCV_LIBS})
